export interface Review {
  id: number
  order_id: number
  customer_id: number
  photographer_id: number
  rating: number
  content: string
  photos?: string[]
  created_at: string
  is_anonymous: boolean
  // 关联信息
  customer: {
    id: number
    username: string
    nickname?: string
    avatar?: string
  }
  photographer: {
    id: number
    username: string
    nickname: string
    avatar?: string
  }
  order: {
    id: number
    order_number: string
    package: {
      id: number
      name: string
    }
  }
}

export interface CreateReviewDto {
  order_id: number
  rating: number
  content: string
  photos?: string[]
  is_anonymous: boolean
}
